# -*- coding: utf-8 -*-

import os

# Where is geoip city databae locates
GEOIP_CITY_DATABASE = 'data/GeoLiteCity.dat'

# The defaul search radius
DEFAULT_RADIUS = 50.0 # kilometers

# The default length queryset objects
DEFAULT_QUERY_LENGTH = 10

# One longitude equals to kilometers
ONE_LONGITUDE = 111.31955 # kilometers

# The size of avatar image
AVATAR_SIZE = (60, 60)

# The defalut image type is png
IMAGE_TYPE = 'png'

# The default place image size
IMAGE_SIZE = (512, 512)

# The defautl place iamge thumbnail size
THUMB_SIZE = (128, 128)

# The mimetype of json message
JSON_MIME = 'application/json'
